Random Walk, Brownian Motion and Heat Equation


One dimensional random walk

Let $X_n$ denotes the step of the walker at time n, $S_n$ denotes the position of the walker at time n. We have the following relationship:

where $x_0$ is the initial starting point of the walker.

Here are some properties of each step $X_n$:

  • $\mathbb{P} \lbrace X_j=1\rbrace = \mathbb{P} \lbrace X_j=-1\rbrace = \frac{1}{2}$
  • $\mathbb{E} X = \sum_z z \mathbb{P} \lbrace X=z\rbrace = 0$
  • $\text{Var}(S_n) = \mathbb{E} S_n^2 = n$

Boundary value problems

Let $T = \min \lbrace n:S_n \in \{ 0, N \} \rbrace$, then we observe that $\mathbb{P}\lbrace T < \infty\rbrace=1$. It indicates that the random walk must come back in finite time. Hence, we can define the following function $F$.

Definition Function $F : \lbrace 0,\ldots,N\rbrace \rightarrow [0,1]$

then we can get boundary conditions $F(0) = 0, F(N) = 1$ and recurrence relation $F(x) = \frac{1}{2}\, F(x+1) + \frac{1}{2}\, F(x-1),\quad x = 1,\ldots,N-1$.

By observation, the function $F(x) = x/N$ satisfies the boundary conditions. Actually, we can prove that it is the only such function.

Theorem Suppose $a$, $b$ are real numbers and $N$ is a positive integer. Then the only function $F : \lbrace 0,\ldots,N\rbrace \rightarrow\mathbb{R}$ satisfying the equation above with $F(0) = a \text{and} F(N) = b$ is the linear function $F(x) = a + \frac{x(b - a)}{N}$.

Higher dimensional case

In higher dimensional space, we can do pretty much the same. Replace $\lbrace1,\ldots,N\rbrace$ with finite connected subset $A \subset \mathbb{Z}^d$ and define $\partial A = \lbrace z \in \mathbb{Z}^d\, \backslash \, A : \text{dist} (z,A) = 1\rbrace$ to be all the boundary points. Plus, it is helpful to know the following definition.

Definition $\mathcal{Q}, \mathcal{L}$ are linear operatos on function $F$, s.t.

Dirichlet problem for discrete harmonic functions

Now we define a harmonic function as the following.

Definition Given a set $A \subset \mathbb{Z}^d$ and a function $F : \partial A \rightarrow \mathbb{R}$ in an extension of $F$ to $\bar{A}$, $F$ is harmonic in $A$ if

Similar to one dimensional case, we have

  • $T_A = \min \lbrace n \geq 0 : S_n \notin A \rbrace$
  • $\mathbb{P} \lbrace T_A < \infty\rbrace = 1$

An important theorem therefore follows

Theorem If $A \subset \mathbb{Z}^d$ is finite, then for every $F : \partial A \rightarrow \mathbb{R}$, there is an unique extension of $F$ to $\bar{A}$ that satisfies $\mathcal{L}F(x) = 0$.

Heat equation

Set the temperature at the boundary to be zero at all times and as an initial condition set the temperature at $x \in A$ to be $f_0(x)$. For $x \in A$,

Definition Let $\partial_n p_n(x) = p_{n+1}(x) - p_n (x)$, we have heat equation

Brownian motion

Basic properties of Brownian motion:

  • $W_t$ be the position of the Brownian motion at time $t$.
  • $\Delta t = \delta = 1/N$
  • For large $N$,
  • $\Delta x = 1/ \sqrt{N} = \sqrt{\delta}$
  • $t = j\delta = j/N \Rightarrow W_t = W_{j/N} = \frac{S_j}{\sqrt{N}}$
  • $W_t \approx \frac{S_j}{\sqrt{N}} = \frac{S_j}{\sqrt{j}}\sqrt{\frac{j}{N}} = \frac{S_j}{\sqrt{j}} \sqrt{t}$
  • $W_t$ has a normal distribution with $\mathbb{E}[W_j] = 0$ and $\text{Var}[W_j] = t$.
  • $W_t \approx \frac{S_j}{\sqrt{N}} = \frac{S_j}{\sqrt{j}}\sqrt{\frac{j}{N}} = \frac{S_j}{\sqrt{j}} \sqrt{t}$
  • $W_t$ has a normal distribution with $\mathbb{E}[W_j] = 0$ and $\text{Var}[W_j] = t$.

Similarly, we can find if the function is harmonic by the following theorem.

Theorem A function $f$ in a domain $U$ is harmonic if and only if $f$ is $C^2$ with $\Delta f(x) = 0$ for all $x \in U$.

Heat Equations

Definition With $f(x)$ being the initial temperature at $x$, $u(t,x), t \geq 0, x \in \mathbb{R}^d$ denotes the temperature at $x$ at time $t$.

Brownian Meander

Brownian motion:

Brownian meander:
$\mathcal{M}\,(t)$ be a Brownian meander, $\mathfrak{M}(t) = \max_{0<s<t} \mathcal{M}\,(s)$

One Dimensional Injection Process

Constantly injecting from the right endpoint of line segment $[0,1]$, then the density of particle at $x$ from time $-b$ to $-a$ is\cite{equ},

The equilibrium density function at $x$ is,

Injection to Planar Domains

  • Set $A = \lbrace(a,b)\, |\, a \in [0,1], b \in [0,1]\rbrace \subset \mathbb{R}^2$ being the domain.
  • For $\forall \text{point} x \in \lbrace (a,b) | b = 0\rbrace$, $x$ can be an injection point, with intensity function $f(x)$.
  • For $\forall \text{point} P = (l_1,l_2) \in \lbrace(a,b) | 0\leq a \leq 1, 0 < b \leq 1\rbrace$, $P$ has initial density function $d_0(P) = 0$.
  • The motion of the particles can be separated into two independent parts:
    • A Brownian motion $\mathcal{B}(t)$ on $x$ axis.
    • A Brownian meander $\mathcal{M}(t)$ on $y$ axis.

Since probability density function $\phi$ of Brownian meander $\mathcal{M}(t)$ reaching $l$ in time 1 without touching 1 is,

We can have probability density $p_1(t,l_2)$ of injected particle with $y$ component at $l_2$ in time $t$,

The probability density $p_2 (t,l_1,x)$ of a Brownian motion $\mathcal{B}(t)$ starting from $x$ reaches point $l_1$ in time $t$:

As the Brownian motion and the Brownian meander are independent from each other,

where

For $\forall y = (l_1,l_2) \in A$, the accumulated density at $y$ in time $t_0$ is,

Verifying Heat Equation

We can see function $h$ as $h(t_0,l_1,l_2) = \int_0^{t_0} \frac{1}{\sqrt{2\pi}} p_1(t,l_2)\, \widetilde{p_2}(t,l_1)\,dt$,

Since $\widetilde{p_2} = \int_0^1 f(x) \sum_{k_2 = -\infty}^\infty \left( \mathrm{e}^{-\frac{f_1(l_1,k_2,x)}{2t}} - \mathrm{e}^{-\frac{f_2(l_1,k_2,x)}{2t}}\right) \,dx$

Theorem If $u(t,l_1,l_2) = \int_0^t \tilde{h}(s,l_1) \tilde{v}(s,l_2)\,ds$, then $u_t = \frac{1}{2} \Delta u$.

Claim: $h(t_0,l_1,l_2)$ satisfies heat equation.

Fork me on GitHub